package com.support.android.designlibdemo.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.pnikosis.materialishprogress.ProgressWheel;
import com.squareup.picasso.Picasso;
import com.support.android.designlibdemo.R;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by Administrator on 2015/11/13.
 */
public class TestActivity extends AppCompatActivity {
    @Bind(R.id.progress_wheel)
    ProgressWheel wheel;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test_layout);
        ButterKnife.bind(this);
//        ImageView image = (ImageView) findViewById(R.id.imageview);
//        Picasso.with(this).load("http://i.imgur.com/DvpvklR.png").into(image);
        wheel.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                wheel.setVisibility(View.GONE);
            }
        });
    }
}
